//
//  MyEndEnquiryVC.m
//  ZITHER
//
//  Created by weixin on 2018/10/17.
//  Copyright © 2018年 weixn. All rights reserved.
//

#import "MyEndEnquiryVC.h"
#import "MyEndEnquiryTbv.h"

@interface MyEndEnquiryVC ()


@property (nonatomic,strong)MyEndEnquiryTbv * Tbv;

@end

@implementation MyEndEnquiryVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor randomColor];
    [self setNav];
    [self setUI];
}

-(void)setNav{
    [self.baseNavigationView setHiddenNav:NO VC:self];

    [self.baseNavigationView NavigationBarStyle:1];
    self.baseNavigationView.leftButton1.hidden = YES;
    self.baseNavigationView.isShowShadow = YES;
    self.baseNavigationView.navViewStyle.title.text = @"已结束询价";

}

-(void)setUI{
    [self.view addSubview:self.Tbv];
    self.Tbv.backgroundColor = [UIColor randomColor];
    [self.Tbv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(NaviHeight);
        make.left.right.equalTo(self.view).offset(0);
        make.bottom.equalTo(self.view).offset(0);
    }];
    
}


- (MyEndEnquiryTbv *)Tbv{
    if (!_Tbv) {
        _Tbv = [[MyEndEnquiryTbv alloc]initializeFrame:CGRectMake(0, 0, 1, 1) isMj:1 isEstimatedRowHeight:YES addRegisterNib:@[@"MeBizQutoeCell"]];
        _Tbv.tableHeaderView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 0, 20)];
    }
    return _Tbv;
}

@end
